#ifndef __EDUI_DEFINES_H__
#define __EDUI_DEFINES_H__

#define CONFIG_USE_SHARED

#if defined(_WIN32)
//windows
#   ifdef CONFIG_USE_SHARED
        //shared library
#       ifdef EXPORTS
#           define EDUI_API __declspec(dllexport)
#       else
#           define EDUI_API __declspec(dllimport)
#       endif
#   else
        //static library
#       define EDUI_API
#   endif
#elif defined(__GNUC__) && ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
//linux...
#   ifdef CONFIG_USE_SHARED
        //shared library
#       ifdef EXPORTS
#           define EDUI_API __attribute__((visibility("default")))
#       else
#           define EDUI_API
#       endif
#   else
        //static library
#       define EDUI_API
#   endif
#else
//other..
#   define EDUI_API      
#endif


#endif
